MailPoet\Entities\NewsletterEntity B

Total Complexity 80
Dependencies 12
Dependents 96
Total lines 563
Lines of code 230
Logical lines of code 123
Comment lines 203
Methods 50
Properties 19

Methods 50

Method Rating Maintainability Complexity Lines of code
setStatus()
A
52 13 22
getFilterSegmentId()
S
62 4 11
getOptionsAsArray()
S
63 3 11
getProcessedAt()
S
63 3 11
getOption()
S
69 3 6
getWpPost()
S
69 3 7
getSegmentIds()
S
70 2 6
getLatestQueue()
S
69 2 6
getGlobalStyle()
S
68 2 7
getOptionValue()
S
75 2 4
__get()
S
67 2 7
getContent()
S
74 2 4
getLastUpdatedQueue()
S
69 2 6
setParent()
S
81 1 3
getGaCampaign()
S
82 1 3
setGaCampaign()
S
81 1 3
setUnsubscribeToken()
S
81 1 3
getParent()
S
77 1 4
getUnfinishedQueues()
S
70 1 6
getChildren()
S
82 1 3
getNewsletterSegments()
S
82 1 3
canBeSetSent()
S
78 1 3
getOptions()
S
82 1 3
getQueues()
S
82 1 3
getUnsubscribeToken()
S
82 1 3
__construct()
S
71 1 6
setSentAt()
S
81 1 3
getSenderName()
S
82 1 3
__clone()
S
69 1 7
getHash()
S
82 1 3
setHash()
S
81 1 3
getSubject()
S
82 1 3
setSubject()
S
81 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getSenderAddress()
S
82 1 3
setSenderAddress()
S
81 1 3
setSenderName()
S
81 1 3
setBody()
S
81 1 3
getStatus()
S
82 1 3
getWpPostId()
S
82 1 3
setWpPostId()
S
81 1 3
getReplyToAddress()
S
82 1 3
setReplyToAddress()
S
81 1 3
getReplyToName()
S
82 1 3
setReplyToName()
S
81 1 3
getPreheader()
S
82 1 3
setPreheader()
S
81 1 3
getBody()
S
82 1 3
getSentAt()
S
82 1 3